#ifndef _MIX_THREAD_TYPEDEF_H_
#define _MIX_THREAD_TYPEDEF_H_

namespace mix
{

typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;

#if defined(_WIN32) || defined( _WIN64)
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#define FMT64 "I64"
#define FMTu64 "I64u"
#else
typedef long long int64_t;
typedef unsigned long long uint64_t;
#define FMT64 "ll"
#define FMTu64 "ull"
#endif

}   // namespace mix

#endif  // _MIX_THREAD_TYPEDEF_H_
